setDisplayCutout

@NonNull
open fun setDisplayCutout(@Nullable displayCutout: @Nullable DisplayCutoutCompat): @NonNull WindowInsetsCompat.Builder(source)

Sets the display cutout.

The cutout passed will only take effect when running on API 29 and above.

Return

itself

Parameters

displayCutout

the display cutout or null if there is none

See also